package top.songxs.gmall.seckill;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import top.songxs.gmall.cache.anno.EnableGmallCache;
import top.songxs.gmall.rabbit.anno.EnableRabbit;

@SpringBootApplication
@EnableRabbit
@EnableScheduling
@EnableGmallCache
@MapperScan(basePackages = "top.songxs.gmall.seckill.mapper")
public class SeckillApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeckillApplication.class,args);
    }
}
